home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / autoit / autoit-v3.2.0.1-setup.exe / Examples / Helpfile / _IENavigate.au3 < prev    next >
Text File  |  2006-07-14  |  897b  |  21 lines

  1. ; *******************************************************
  2. ; Example 1 - Create a browser window and navigate to a website,
  3. ;                wait 5 seconds and navigate to another
  4. ;                wait 5 seconds and navigate to another
  5. ; *******************************************************
  6. ;
  7. #include <IE.au3>
  8. $oIE = _IECreate ("www.autoitscript.com")
  9. Sleep(5000)
  10. _IENavigate ($oIE, "http://www.autoitscript.com/forum/index.php?")
  11. Sleep(5000)
  12. _IENavigate ($oIE, "http://www.autoitscript.com/forum/index.php?showforum=9")
  13.  
  14. ; *******************************************************
  15. ; Example 2 - Create a browser window and navigate to a website,
  16. ;                do not wait for page load to complete before moving to next line
  17. ; *******************************************************
  18. ;
  19. #include <IE.au3>
  20. $oIE = _IECreate ("www.autoitscript.com", 0)
  21. MsgBox(0, "_IENavigate()", "This code executes immediately")